package com.ahaoyou.service;

import com.ahaoyou.service.impl.ConsumerService;
import com.spring.annotation.Autowired;
import com.spring.annotation.Component;

/**
 * @Description
 * @Author lh
 * @Date 2021-09-29 19:22
 */
@Component
public class UserService implements UserInterface {

    @Autowired
    private OrderInterface orderInterface;

    @Autowired
    private ConsumerService consumerService;
    @Override
    public void test() {
        orderInterface.show();
        System.out.println(orderInterface);
        System.out.println(consumerService);
    }
}